# coding=utf-8


class Item(object):
    def __init__(self, d={}):
        self.output_list = []
        self.content = d

    def do(self):
        for m in self.output_list:
            m.output(self.content)

    def output(self, output):
        self.output_list.append(output)
        return self
